home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-09-28 | 6.7 KB | 126 lines | [TEXT/MPS ] |
- Metrowerks MPW Tools Summaries
-
- Copyright Metrowerks, Inc. 1994
- All rights reserved.
-
- -
- Metrowerks
- Help summaries are available for each of the Metrowerks tools.
- To see Help summaries, Enter a command such as
-
- Help MWCPPC # Metrowerks C compiler for PPC
- Help MWLinkPPC # Metorwerks Linker for PPC
-
- -
- MWCPPC # Metrowerks C/C++ compiler for PowerPC
- MWCPPC [options…] [file]
- -align power # specify PowerPC alignment for data structures
- -align mac68k # specify 68K alignment for data structures
- -align mac68k4byte # specify 68K 4 byte alignment for data structures
- -ansi off # default
- -ansi on|relaxed # nonstandard keywords not excepted
- -ansi strict # -ansi relaxed and -enum int
- -appleext on | off # allow apple's keywords (defaults to on)
- -c # syntax check only, don't create object file
- -d name # (use -prefix for now) define a preprocessing symbol. Equivalent to #define name 1.
- -d name=value # (use -prefix for now) define a preprocessing symbol. Equivalent to #define name value.
- -dialect c # treat source as C
- -dialect cplus # treat source as C++
- -dump filename # precompile only, write precompiled header to filename
- -e # preprocess only. print results on standard output.
- -enum int # use int-sized enumeration types
- -enum min # use minimum-sized enumeration types
- -i directory # search for include files in directory.
- -inline on|all|none|off # turn inlining on and off (all=on and none=off)
- -jm # generates a warning and invokes -mpw_pointers
- -load path # load a precompiled header (or prefix a text file)
- -ldsize 64 # sets the size of long doubles (For PowerPC only 64 bits is currently supported).
- -mapcr # (defaults on) treat '\n' and '\r' exactly like MPW
- -maxerrors number # limit errors to number.
- -mpw_pointers # relax rules for pointers of the same basic type of the same size (char & unsigned char...)
- -nomapcr # for unix® compatiblity '\n' == linefeed, '\r' == return
- -nosyspath # treat <> like "" in #include directives
- -notonce # allow multiple copies of header files
- -o filename # write object code to filename or directory
- -once # only read include files once.
- -opt off # suppress all optimizations
- -opt option,option # -opt options can be a list of the items below (-opt all,nopeep).
- -opt [no]global # enable global optimization and register allocation
- -opt [no]peep # enable peephole optimization
- -opt [no]schedule # enable instruction scheduling
- -opt size # optimize for size
- -opt speed # optimize for speed (default)
- -p # write progress information to diagnostic
- -precompile filename # precompile only, write precompiled header to filename
- -prefix filename # automatically include filename before source file
- -profile on|off # enable/disable calls to profiler; default is "off"
- -rostr # make string constants readonly
- -strict on|off # strict enforcement of source language dialect (strict == ARM)
- -sym on|off # enable/disable symbolic debugging information; default is "off"
- -sym full # this is the same as -sym on (for PPCC compatiblity)
- -r[equireprotos] # require function prototypes
- -trigraphs on|off # enable recognition of trigraphs; default is "off"
- -w[arnings] opt1,opt2 # -opt options can be a list of the items below.
- off # turn off all warnings
- on # turn on warnings (except iserror)
- full # same as "all" (except iserror)
- all # turn on all warnings
- [no]pragmas # warn on illegal pragmas
- [no]emptydecl # warn on empty declarations
- [no]possible # warn on possible errors
- [no]unusedvar # warn on unused variables
- [no]unusedarg # warn on unused arguments
- [no]extracomma # warn on extra commas
- [no]extended # even more possible problems
- iserror # treat warnings as errors.
- -
- MWLinkPPC # Metrowerks Linker for PowerPC
- -application # this is default to on
- -b # expand uninitialized storage
- -c creator # set output file creator; default is '????'
- -cv num # set current version number
- -coderesource # builds a code resource
- -d # no duplicate warnings
- -dv num # Sets the definition number for import libraries.
- -dead on|off # (for compatiblity defaults on except for libraries)
- -e name # same as -main
- -export [none, all] # export all symbols, export none
- -@export filename # Loads export symbols defined in the specified file.
- -f filename # Loads export list from filename
- -fastlink on|off # enable/disable faster linking; default is "on"
- # (faster linking uses more memory)
- -init name # entry point for initialization routine (default for this is none)
- -initbefore # next library has the initbefore flag set to TRUE
- # it is the users responsiblity to insure that the
- # next file is a library.
- -main name # set entry point to name; default is "__start"
- -map filename # Put link map in specified filename
- -o filename # specify output filename
- -osym filename # symbolic file default (objectfilename.xSYM)
- -p # progress information
- -rsrcflags list # set the flags on the generated resource
- # list of [system, purgeable, locked, protected, preload]
- -rsrcmerge # don't replace the output file just add the new resource
- -rsrcname name # name of code resource
-
- -sharedlibrary # builds a shared library
- -sortcode # sort the code segment
- -sharedata # share the data segment
- -sym off # don't write symbolic debugging information
- -sym on # write symbolic debugging information to .SYM file
- -sym fullpath # write symbolic debugging information to .SYM file,
- # include full path names for source files
- -sym full # -sym full is treated the same as -sym on
- -t type # set output file type; default is 'APPL'
- -term name # entry point for termination routine (default for this is none)
- -uv num # set implementation version number
- -w # warnings off
- -weakimport # next object file will have the weakimport flag set to true
- # the user must make sure that the next object file is a
- # library for which this flag works
- -xm c[oderesource] # generate a code resource.
- -xm e[xecutable] # generate a application
- -xm l[ibrary] # generate a library
- -xm s[haredLibrary] # generate a library
- -
-